<?php get_header(); ?>
 <div class="grid_8" id="main">
  	<div class="grid_8 alpha omega" id="posts">
	<?php if(have_posts()) : ?>
		<?php while (have_posts()) : the_post();  ?>
    	<div class="grid_8 alpha omega post">
  			<div class="grid_7 alpha" id="title"><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2></div>
    		<div class="grid_1 omega comment-count" ><?php comments_number('0', '1', '%'); ?></div>
    		<div class="grid_7 alpha postdata">Written on: <span class="datetime"><?php the_time('m-d-y') ?></span> &#183; Posted in: <span class="post-category"><?php the_category( ","); ?></span></div>
    		<div class="grid_8 alpha omega content"><?php  the_content(); ?></div>
        	<div class="grid_8 alpha omega post-tags"><?php the_tags('', ', ', ''); ?></div>
        </div>
		<?php endwhile; ?>
	<?php else : ?>
		<div class="grid_8 alpha omega post">		
		<h2>Not Found</h2>	
			No search results were found for those search terms. Please try again. 					
		</div>
	<?php endif; ?>
    </div>
  <div class="grid_4 alpha previous-link"><?php previous_post_link('&laquo; %link (last)') ?></div>
  <div class="grid_4 omega next-link"><?php next_post_link('(new) %link &raquo;') ?></div>
  </div>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
